package com.robaone.gwt.hierarcialdb.client;

import java.util.HashMap;
import java.util.Vector;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

/**
 * The client side stub for the RPC service.
 */
@RemoteServiceRelativePath("hieracialdb")
public interface HierarcialDBService extends RemoteService {
	
	String[] getMenuItems() throws Exception;

	Vector<HashMap<String,String>> getFolderContentsbyPath(String current_path) throws Exception;

	Vector<HashMap<String,String>> getFolderContentsbyId(String id) throws Exception;

	Vector<HashMap<String, String>> getFileContentsbyId(String id) throws Exception;

	HashMap<String, String> setFileContents(String text, String string) throws Exception;
}
